package com.rmt.www.action;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.ServletActionContext;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;


import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
import com.rmt.www.constant.ArtifactType;
import com.rmt.www.dao.ArtifactDao;
import com.rmt.www.dao.ProjectDao;
import com.rmt.www.dao.UserDao;
import com.rmt.www.service.TestManageTestCaseService;
import com.rmt.www.vo.Artifact;
import com.rmt.www.vo.Project;
import com.rmt.www.vo.TestArtifact;
import com.rmt.www.vo.User;


public class UpdateTestAction extends ActionSupport{
	private static final long serialVersionUID = 1L;
	public int aid;
	private TestArtifact artifact;
	private TestManageTestCaseService testManageTestCaseService;
	
	
	public String execute(){
		artifact = testManageTestCaseService.getTestArtifact(aid);
		return "success";
	}


	public int getAid() {
		return aid;
	}


	public void setAid(int aid) {
		this.aid = aid;
	}

	

	public TestArtifact getArtifact() {
		return artifact;
	}


	public void setArtifact(TestArtifact artifact) {
		this.artifact = artifact;
	}


	public TestManageTestCaseService getTestManageTestCaseService() {
		return testManageTestCaseService;
	}


	public void setTestManageTestCaseService(
			TestManageTestCaseService testManageTestCaseService) {
		this.testManageTestCaseService = testManageTestCaseService;
	}
}
